package Base.RegularExpression;

import org.testng.annotations.Test;

import java.util.regex.Pattern;

public class REDemo {
    @Test
    public void test1(){
        String s1="this   a    test";
        String pattern="this\\s+a\\s+test";
        boolean ifmatch= Pattern.matches(pattern,s1);
        System.out.println(ifmatch);
    }
}
